package com.sny.tang.readex;

public class Order {

	// 编号
	private String id;
	// 重量
	private int weight;
	// 折扣后重量
	private float afterWeight;
	// 价格
	private float price;

	/*
	 * <li> 自己编号 <li> EUB编号 <li> 自己重量 <li> EUB重量 <li> EUB折扣后重量 <Li> 折扣后相差的重量
	 */
	private String rs_self_id;
	private String rs_eub_id;
	private int rs_self_weigt;
	private int rs_eub_weight;
	private float rs_eub_rate_weight;
	private float rs_weight;

	public String getRs_self_id() {
		return rs_self_id;
	}

	public void setRs_self_id(String rs_self_id) {
		this.rs_self_id = rs_self_id;
	}

	public String getRs_eub_id() {
		return rs_eub_id;
	}

	public void setRs_eub_id(String rs_eub_id) {
		this.rs_eub_id = rs_eub_id;
	}

	public int getRs_self_weigt() {
		return rs_self_weigt;
	}

	public void setRs_self_weigt(int rs_self_weigt) {
		this.rs_self_weigt = rs_self_weigt;
	}

	public int getRs_eub_weight() {
		return rs_eub_weight;
	}

	public void setRs_eub_weight(int rs_eub_weight) {
		this.rs_eub_weight = rs_eub_weight;
	}

	public float getRs_eub_rate_weight() {
		return rs_eub_rate_weight;
	}

	public void setRs_eub_rate_weight(float rs_eub_rate_weight) {
		this.rs_eub_rate_weight = rs_eub_rate_weight;
	}

	public float getRs_weight() {
		return rs_weight;
	}

	public void setRs_weight(float rs_weight) {
		this.rs_weight = rs_weight;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public float getAfterWeight() {
		return afterWeight;
	}

	public void setAfterWeight(float afterWeight) {
		this.afterWeight = afterWeight;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public String showRsInfo() {

		StringBuffer sb = new StringBuffer();

		sb.append("ID:");
		sb.append("\t");
		sb.append(id);

		sb.append("\t");
		sb.append("rs_self_weigt:");
		sb.append("\t");
		sb.append(rs_self_weigt);

		sb.append("\t");
		sb.append("rs_eub_weight:");
		sb.append("\t");
		sb.append(rs_eub_weight);

		sb.append("\t");
		sb.append("rs_eub_rate_weight:");
		sb.append("\t");
		sb.append(rs_eub_rate_weight);

		sb.append("\t");
		sb.append("rs_weight:");
		sb.append("\t");
		sb.append(rs_weight);

		return sb.toString();
	}

	public String toString() {

		StringBuffer sb = new StringBuffer();

		sb.append("Id:");
		sb.append("\t");
		sb.append(id);

		sb.append("\t");
		sb.append("weight:");
		sb.append("\t");
		sb.append(weight);

		return sb.toString();

	}

}
